import React from 'react';
import {Button, Tag} from 'antd';
import {Link} from 'dva/router';
import img from '@/assets/img/404.svg';

export default props => (
    <ul className="flex-col just-center align-center ui-p-20">
        <li className="ui-p-20">
            <img width="180" src={img} alt="" />
        </li>
        <li className="ui-p-20">
            <Tag color="volcano">404</Tag>
            <Tag color="volcano">地址不存在</Tag>
            <Tag color="volcano">请联系管理员</Tag>
        </li>
        <li className="ui-p-20">
            <Button className="ui-mb-20" type="primary">
                <Link to="/">返回首页</Link>
            </Button>
        </li>
    </ul>
);
